#ifndef BUDGET_H
#define BUDGET_H
#include"db_class.h"
#include"mainwindow.h"
#include"budget_edit.h"
#include <QMainWindow>
#include<QListWidgetItem>

namespace Ui {
    class Budget;
}

class Budget : public QMainWindow
{
    Q_OBJECT

public:
    explicit Budget(QWidget *parent = 0);
    ~Budget();

private:
    Ui::Budget *ui;
    QListWidgetItem*item1;
    db_class db,db1;
    double budget;

private slots:
    void on_listWidget_itemActivated(QListWidgetItem* item);
    void back();
};

#endif // BUDGET_H
